package com.wit.dao;

import com.wit.po.Client;
import com.wit.po.Contactman;

import java.util.List;

public interface ClientDao {

	public Client getClientById(String clientId);
	public List<Client> getClientList(Integer pageNumber,Integer pageSize);
	public boolean addClient(Client client);
	public boolean updateClient(Client client);
	public boolean removeClient(Client client);
	public boolean isClientRemovable(String clientId);
	public String getLastClientId();
	public String generateClientId();
	
	public List<Client> getClientList(Client client, Integer pageNumber, Integer pageSize);
	public int getTotalAmount(Client client);
	public List<Contactman> getContactListByClientId(String clientId);
}
